package com.suyun.service.impl;


import com.suyun.dao.OrderDao;
import com.suyun.domain.Order;
import com.suyun.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderDao orderDao;

    @Override
    public Order createOrder(Order order) {
        return orderDao.save(order);
    }
}
